Learn how Recommend rules let you refine and curate your recommendations.
sameAsViewedItem
value.
This doesn’t exclude recommendations with different categories,
which can be helpful if you have categories with only few recommendations.
inventory
attribute as count,
you can create a rule with “Filter items” as consequence,
where you select inventory > 0
as filter condition.
This excludes all recommendations with 0 or undefined inventory.
category:hair
), recommend all shampoos (product_type:shampoo
) first.
Create a rule with the “Subset of source items” condition and select “category
is hair
”.
Add a “Boost items” consequence with “product_type
is shampoo
”.
Select your Algolia application
Select Recommend
Select a index and model for the rules
Select rule conditions
Optional: add a rule context
Add consequences
1
is first)sameAsViewedItem
.Optional: describe rule